{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="row[id]" value="{$data.id}">




    <div class="layui-form-item">
        <label class="layui-form-label">订单编号</label>
        <div class="layui-input-block">
            <input type="text" name="no" value="{$data.no}"   readonly="readonly" autocomplete="off" placeholder="订单编号"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">兑换商品</label>
        <div class="layui-input-block">
            <input type="text" name="goods_name" value="{$data.goods_name}"  readonly="readonly" autocomplete="off" placeholder="兑换商品"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">兑换时间</label>
        <div class="layui-input-block">
            <input type="text" name="create_time" value="{$data.create_time}"  readonly="readonly" autocomplete="off" placeholder="兑换时间"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">使用积分</label>
        <div class="layui-input-block">
            <input type="text" name="points" value="{$data.points}"  readonly="readonly" autocomplete="off" placeholder="使用积分"
                   class="layui-input">
        </div>
    </div>



<!--    <div class="layui-form-item layer-footer">-->
<!--        <div class="layui-input-block">-->
<!--            <button class="layui-btn" lay-submit="">立即提交</button>-->
<!--            <button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
<!--        </div>-->
<!--    </div>-->
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm','form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        var $ = layui.jquery;
        yznForm.bindevent($("form.layui-form"));
    });

</script>
{/block}